﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BLL.Comment;
using BLL.Comment.Impl;
using BLL.Users;
using BLL.Users.Impl;
using Model;

public partial class Page_Expert_ExpertOfDetail : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            enterpriseDetailDataBind();
        }
    }
    private void enterpriseDetailDataBind()
    {
        string enterpriseId = Request["enterpriseId"].ToString();
        EnterpriseBO enterpriseBO=new EnterpriseBOImpl();
        List<Enterprise> enterpriseDetail = enterpriseBO.GetEntityList("EnterpriseId",enterpriseId,"EnterpriseName");
        DVEnterprise.DataSource = enterpriseDetail;
        DVEnterprise.DataBind();
    }


    protected void btnEnterpricesInfoBack_Click(object sender, ImageClickEventArgs e)
    {
        Response.Write("<script language=javascript>history.go(-2);</script>");
    }
}